<!DOCTYPE html>
<html ng-app="shop-module">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>丘丘谷后台管理系统</title>
    <base href="/" />
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="<?=base_url() . 'assets/library/bootstrap/css/bootstrap.min.css'?>">
    <link rel="stylesheet" href="http://cdn.staticfile.org/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="<?=base_url() . 'assets/library/dist/css/AdminLTE.min.css'?>">
    <!--
    <link rel="stylesheet" href="<?=base_url() . 'assets/library/dist/css/skins/skin-green.min.css'?>">
    -->
    <link rel="stylesheet" href="<?=base_url() . 'assets/library/dist/css/skins/skin-black.min.css'?>">
    <link rel="stylesheet" href="https://cdn.staticfile.org/ionicons/2.0.1/css/ionicons.min.css">
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <?php

        if (!empty($css) && is_array($css)) foreach($css as $item){
            if(preg_match('/^http/i', $item)) {
                echo '<link rel="stylesheet" href="' . $item . '" />';
            } else {
                echo '<link rel="stylesheet" href="'. base_url() . ltrim($item, '/') . '?' . STATIC_VERSION . '" />';
            }
        }

        if (!empty($js) && is_array($js)) foreach($js as $item){
            if(preg_match('/^http/i', $item)) {
                echo '<script src="' . $item . '"></script>';
            } else {
                echo '<script src="'. base_url() . ltrim($item, '/') . '?' . STATIC_VERSION . '"></script>';
            }
        }
    ?>
</head>
<body class="hold-transition skin-black sidebar-mini">